//
//  BaseViewController.h
//  moon
//
//  Created by beyself on 16/6/6.
//  Copyright © 2016年 beyself. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MBProgressHUD.h"

@interface BaseViewController : UIViewController
@property (strong, nonatomic) MBProgressHUD* mMBProgressHUD;

@property(strong,nonatomic) UIView* waitView;

- (void) showMsg:(NSString*)msg;
- (void) httpCallback:(NSDictionary*)data flag:(int)flag;
- (void) httpCallbackFail:(int)flag;
- (void) showAllTextDialog:(NSString*)msg;
- (void) showWaitDialog;
- (void) dissmissDialog;
- (NSString*) getUsername:(NSString*)userId;
@end
